<?php
/**
 * ksort を試す
 *
 * 多次元配列のキーと値を保ったままソート
 *
 */


$file = array(
	  "00:1" => array('k1' => 'v11','k2' => 'v21')
	, "10:1" => array('k1' => 'v12','k2' => 'v22')
	, "05:0" => array('k1' => 'v13','k2' => 'v23')
);
ksort($file);
foreach ($file as $k => $v) {
    echo "$k =";
    print_r($v);
}


